#ifndef UIMAINWINDOW_H
#define UIMAINWINDOW_H

#include <QMainWindow>
#include "loginwindow.h"
#include "netset.h"
#include <QDialog>
#include "aboutdialog.h"
#include <QFileDialog>
#include <QColorDialog>
#include <QErrorMessage>
#include <QInputDialog>
#include <QMessageBox>
#include <QProgressDialog>
#include <QWizard>
#include <QLabel>
#include <qfile.h>
#include <QTextStream>
#include "formwindow.h"
//#include <QPrintDialog>  //打印对话框
#include  <QSqlQuery>
#include <QFontDialog>

#include "mvdwindow.h"
namespace Ui {
class UIMainWindow;
}

class UIMainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit UIMainWindow(QWidget *parent = 0);
    ~UIMainWindow();

private slots:

    void handlerPerson(QString name,int age,QString gender);
    void handlerPerson(Person p);
    void on_loginAction_triggered();

    void on_netSetAct_triggered();

    void on_modalAct_triggered();

    void on_modelessAct_triggered();

    void on_colorAct_triggered();

    void on_openAction_triggered();

    void on_errorAction_triggered();

    void on_fontAction_triggered();

    void on_msgAction_triggered();

    void on_inputAction_triggered();

    void on_winzardAction_triggered();

    void on_progressAction_triggered();

    void on_saveAction_triggered();

    void on_textReadAction_triggered();

    void on_textWriteAction_triggered();

    void on_dataWirteaction_triggered();

    void on_dataReadaction_triggered();
    
    void on_dataReadAction_triggered();

    void on_luruAction_triggered();

    void on_twoButton_clicked();

    void initTableWidget();

    void on_removeAction_triggered();

    void on_comboBox_currentIndexChanged(const QString &arg1);

    void on_dbAddAction_triggered();

    void on_dbDelAction_triggered();

    void on_sqlQueryAction_triggered();

    void on_MvdAction_triggered();

private:
    Ui::UIMainWindow *ui;
    LoginWindow *loginw;
    NetSet * netSetWin;
};

#endif // UIMAINWINDOW_H
